package com.awccis.driver.model.location;

import org.springframework.stereotype.Component;

/**
 * @author: 纯牛奶丶
 * @Date: 2018-04-26 13:49
 * @since: 1.0
 * @description:
 **/
@Component("locationBean")
public class LocationBean {
    private int personId;
    private double locationLongitude;
    private double locationLaitude;
    private int locationIsDriver;
    private String locationName="";



    public int getPersonId() {
        return personId;
    }
    
    public void setPersonId(int personId) {
        this.personId = personId;
    }
    
    public double getLocationLongitude() {
        return locationLongitude;
    }
    
    public void setLocationLongitude(double locationLongitude) {
        this.locationLongitude = locationLongitude;
    }
    
    public double getLocationLaitude() {
        return locationLaitude;
    }
    
    public void setLocationLaitude(double locationLaitude) {
        this.locationLaitude = locationLaitude;
    }
    
    public int getLocationIsDriver() {
        return locationIsDriver;
    }
    
    public void setLocationIsDriver(int locationIsDriver) {
        this.locationIsDriver = locationIsDriver;
    }
    
    public String getLocationName() {
        return locationName;
    }
    
    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }
    
    @Override
    public String toString() {
        return "LocationBean{" +
                "personId=" + personId +
                ", locationLongitude=" + locationLongitude +
                ", locationLaitude=" + locationLaitude +
                ", locationIsDriver=" + locationIsDriver +
                ", locationName='" + locationName + '\'' +
                '}';
    }
}
